Core (xfcore)

Table of Contents

5. Overview
Introduction
Application Framework
Graphics
Audio
File I/O
Controls
Memory and Resource Management
Network
Development Platform Requirements
Symbian Platforms
Microsoft PocketPC and Smartphone Platforms
Tapwave codename Helix
6. Application Framework
Overview
Program Flow
xfcAppPref()
xfcAppInit()
The Uses-Interface
Application Class
Renderer Class
Controller Input Class
7. File I/O
Overview
Standard File Access Calls
Opening Files
Closing Files
Seeking Inside a File
Reading Data
Writing Data
Renaming Files
Deleting Files
File Information
Checking If File Exists
Finding Files
Getting File Size
Getting Opened File Name
Data Serialization Extensions
Compressed File Library (CFL) Files
Understanding CFL
Getting a File at Once
Accessing Data Directly Inside a CFL File
Creating CFL Files at Runtime
8. 2D Graphics
Overview
Creating Surfaces
XFcGLSurface
XFcGLTexture
XFcGLResourceSurface
Getting Surface Information
Locking Surfaces
Blitting Surfaces
Color Keys
Basic Blitting
Blending
Transforms
2D Graphics Primitives
Filled Rectangles
Lines
RLE compressed sprites
XFcRLESprite
Using RLE compressed sprites
XFcGLSurfaceToolkit
Surface resampling
9. 3D Graphics
Overview
GL Device
Acquiring a GL Device
Setting the Viewport
Setting the Rendering Target
Clearing the Framebuffer
Matrices and Space Transforms
beginRender() and endRender()
States
Lights and Materials
Billboards
Custom Render Callback
Render to surface
Vertex Formats
Vertex Buffers
XFcGLVertexBuffer
Rendering Vertex Buffers
Custom Primitive
Triangle Info Buffers
XFcGLTriangleInfoBuffer
GL Device Info
XFcGLDeviceInfo
Changing Devices
Default Devices
GL Enumerations
10. Audio
Overview
Initializing the Audio System
Audio Buffers
XFcAudioBuffer::create()
xfuLoadWav()
Generating Audio Data into an Audio Buffer
Audio Streams
XFcAudioStream
Audio Library
Playing Audio Buffers and Streams
Stopping and Pausing Audio Buffers and Streams
Changing Parameters on Audio Buffers and Streams
Explanation of Parameters